<!DOCTYPE html>
<html  xmlns:th="http://www.thymeleaf.org"  class="app js no-touch no-android chrome no-firefox no-iemobile no-ie no-ie10 no-ie11 no-ios">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <title>洛杉矶国际快三 - 查询</title>
    <meta name="keywords" content="瑞士PC ">
    <meta name="description" content="西班牙动感PC 是专门以提供各种走势为主的专业网站，每期及时更新号码。">
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <link th:href="@{/css/style-chart-min.css}"  type="text/css" rel="stylesheet"  href="../static/css/style-chart-min.css">
    <link th:href="@{/css/bootstrap.min.css}"  rel="stylesheet"  href="../static/css/bootstrap.min.css" type="text/css">
    <link th:href="@{/css/style.css}"  rel="stylesheet"  href="../static/css/style.css" type="text/css">
    <script th:src="@{/js/jquery.min.js}"  src="../static/js/jquery.min.js"></script>
    <script  th:src="@{/js/bootstrap.min.js}" src="../static/js/bootstrap.min.js"></script>

    <link rel="stylesheet" th:href="@{/css/chart-min.css}"  href="../static/css/chart-min.css" type="text/css">
    <script th:src="@{/js/boot-min.js}"  src="../static/js/boot-min.js" type="text/javascript"></script>
    <script th:src="@{/js/ESUNChart-min.js}" src="../static/js/ESUNChart-min.js" type="text/javascript"></script>
    <script th:src="@{/js/jquery.fixedtableheader.min.js}" src="../static/js/jquery.fixedtableheader.min.js" type="text/javascript"></script>

<body style="width: 100%;">
<div class="container container-h bg-white scrollable wrapper wrapper-xxs">
    <!--banner-->
    <form th:action="@{|/loginPost|}" method="post">
        <div class="form-group">
            <label for="account">用户</label>
            <input type="text" class="form-control" id="account" placeholder="account">
        </div>
        <div class="form-group">
            <label for="password">密码</label>
            <input type="password" class="form-control" id="password" placeholder="password">
        </div>
        <button type="button" id="tab-result" class="btn btn-default">登录</button>
    </form>
</div>

<script>

    $(function() {
        $("#tab-result").click(function(){
            $.post('/loginPost',{
                        account: $("#account").val(),
                        password:$("#password").val()
                    },
                    function(res) {
                        if(res.errorcode=="success"){
                            window.location.href="/input";
                        }
                    },
                    "json");

        });
    });
    </script>


</body></html>